import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'
import Regist from '../views/Regist.vue'
import Login from '../views/Login.vue'

const routes: Array<RouteRecordRaw> = [
    {
        path: "/",
        name: "Regist",
        component: Regist
    },
    {
        path: "/Login",
        name: "Login",
        component: Login
    }


]

const router = createRouter({
    history: createWebHistory(),
    routes
})
export default router
